package cn.gs.common.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

/**
 * @author gs
 * @date 2020/1/9
 */


public enum StatusEnums {
    CODE_ERROR(400,"验证码错误"),
    SUCCESS(200,"操作成功"),
    ACCOUNT_UNKNOWN(500, "账户不存在"),
    ACCOUNT_ERROR(500,"用户名或密码错误");

    @Getter
    @Setter
    private Integer code;
    @Getter
    @Setter
    private String message;

    StatusEnums(Integer code, String message){
        this.code = code;
        this.message = message;
    }

}
